package crazy.java.cha10;

/**
 * @author futao
 * Created on 2017/12/1 - 19:23.
 */
public class ClassB extends ClassA {
    private String name="classB";

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void hello() {
        System.out.println("hello ClassB");
    }
}
